package com.myplans.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.myplans.shared.Category;
import com.myplans.shared.Plan;

public interface PlanServiceAsync {
	
	void addPlan(Plan plan,  AsyncCallback<Plan> callback);
	
	void getPlans(String categoryName, String searchString, AsyncCallback<List<Plan>> callback);
	
	void getCategories(AsyncCallback<List<Category>> callback);
	
}
